<%
  #
  # Copyright NoiseTube 2013
  #
%>

<div class="clearfix">
  <div class="intro-cartasur">


    <h3><%= t 'backups.title' %></h3>
    <p>
      <%= t'backups.desc' %>
    </p>

  </div>

  <br >
  <div class="listwithtitle">
    <h3><%=   t 'backups.subtitle' %></h3>
    <br/>
    <ul>
      <%= t 'backups.nobackups' if @dumps.blank?   %>

      <%   @dumps.each {|dump |
        %>

          <li><%= link_to File.basename(dump), dump[/\/.*/] %>  <%=  File.mtime(dump).try(:to_date) %></li>

      <% } %>

    </ul>
  </div>
</div>